<?php 
$m_class = $this->uri->segment(2,0);
if($m_class=="" || $m_class==null){
	$m_class = "";
}
?>
<div align="center">
<span id="admin-lpanel">
<li class="menu"><a href="<?php echo site_url(array('just4me'))?>"><span class="left">&nbsp;</span><span class="center"><span class="dashboard-link">&nbsp;</span><span class="dash">Dashboard</span></span><span class="right">&nbsp;</span></a></li>
</span>
<hr size="1" width="83%" color="#CCCCCC" />
<table id="admin-lpanel-menu" width="83%" cellspacing="0" cellpadding="0">
   <tr class="menu">
    <td <?php if($m_class=="member"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','member'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="member"){echo "class='member-active'";}else{echo "class='member'";}?>>&nbsp;</span>Member
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="anggota"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','anggota'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class=="anggota"){echo "class='anggota-active'";}else{echo "class='anggota'";}?>>&nbsp;</span>Anggota</div></a></td>
  </tr> 
  <tr class="menu">
    <td <?php if($m_class=="pages"){echo "class='active'";}else{}?>><a href="<?php echo site_url(array('just4me','pages'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="pages"){echo "class='pages-active'";}else{echo "class='pages'";}?>>&nbsp;</span>Pages
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="post"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','post'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="post"){echo "class='post-active'";}else{echo "class='post'";}?>>&nbsp;</span>Post
    </div></a>
    </td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="comment"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','comment'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="comment"){echo "class='comment-active'";}else{echo "class='comment'";}?>>&nbsp;</span>Comment
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="media"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','media'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="media"){echo "class='media-active'";}else{echo "class='media'";}?>>&nbsp;</span>Media
    </div></a></td>
  </tr>
  
  <tr class="menu">
     <td <?php if($m_class=="message"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4me','message'))?>"><div>
     &nbsp;&nbsp;<span <?php if($m_class=="message"){echo "class='message-active'";}else{echo "class='message'";}?>>&nbsp;</span>Message</td>
  </tr>
</table>

</div>